package share

import (
	"oc_saas/controller/share"

	"github.com/gin-gonic/gin"
)

type Base struct{}

func (*Base) InitBaseRouteGroup(router *gin.RouterGroup) {
	var baseRouterGroup = router.Group("base")
	var baseApi = share.ShareController
	{
		baseRouterGroup.POST("login", baseApi.Login)    //登录
		baseRouterGroup.POST("/logout", baseApi.LogOut) //退出登录
	}
}

var BaseRouteGroup = new(Base)
